projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6681461
)
DM: serial: ti_omap3_common: Don't define serial unless !DM_SERIAL
author
Adam Ford
<
[email protected]
>
Tue, 21 Aug 2018 01:43:00 +0000
(20:43 -0500)
committer
Tom Rini
<
[email protected]
>
Wed, 12 Sep 2018 01:39:06 +0000
(21:39 -0400)
The serial port was being manually configured during SPL build,
however in preparation to allow DM in SPL, this needs to change
to be based on whether or not DM_SERIAL is enabled because, soon
the assumption that SPL means no DM may not be accurate.
Signed-off-by: Adam Ford <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
include/configs/ti_omap3_common.h
patch
|
blob
|
history
diff --git
a/include/configs/ti_omap3_common.h
b/include/configs/ti_omap3_common.h
index dcf76305db7a7187a3cbabb6a090ea3f8ea08c11..c668284b3e4446f2c4186c2027578e3e5e628a83 100644
(file)
--- a/
include/configs/ti_omap3_common.h
+++ b/
include/configs/ti_omap3_common.h
@@
-27,12
+27,10
@@
/* NS16550 Configuration */
#define V_NS16550_CLK 48000000 /* 48MHz (APLL96/2) */
#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
-#if defined(CONFIG_SPL_BUILD)
-#define CONFIG_SYS_NS16550_SERIAL
#if !defined(CONFIG_DM_SERIAL)
+#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#endif /* !CONFIG_DM_SERIAL */
-#endif /* CONFIG_SPL_BUILD */
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, \
115200}